import 'package:flutter/material.dart';

enum DevelopmentEev{
   res,
   dev,
   bug
}

const DevelopmentEevValues = {
  DevelopmentEev.res: 'https://api.senlinlx.cn/senlin',
  DevelopmentEev.dev: 'https://api.dev.91liaodian.com/charger',
  DevelopmentEev.bug: 'https://vip.88-spa.com:8443/v1/'
};

class AppConfig{
  //是否是debug 模式 //打印
  static const bool isDebug = true;
  static DevelopmentEev developmentEev = DevelopmentEev.bug;
  //服务器地址
  static String baseUrl = DevelopmentEevValues[developmentEev]; //
  //版本号
  static int version = 112;
  static String versionStr = '1.1.2';
}

class AppColor{
  static const Color primary = Color(0xFF5C5C5C);
  static const Color secondary = Color(0xFF51DEC6);
  static const Color red = Color(0xFFFF2B45);
  static const Color orange = Color(0xFFF67264);
  static const Color white = Color(0xFFFFFFFF);
  static const Color transparent = Color(0x00FFFFFF);
  static const Color paper = Color(0xFFF5F5F5);
  static const Color lightGrey = Color(0xFFDDDDDD);
  static const Color darkGrey = Color(0xFF333333);
  static const Color grey = Color(0xFF888888);
  static const Color blue = Color(0xFF3688FF);
  static const Color golden = Color(0xff8B7961);
  static const Color black = Color(0xff000000);
  static const Color black_99 = Color(0xff999999);
  static const Color black_66 = Color(0xff666666);
  static const Color black_33 = Color(0xff333333);
  static const Color black_cc = Color(0xffcccccc);

  static const Color default_txt_grey = Color(0xFF757575);
  static const Color default_icon_grey = Color(0xFF616161);
  static const Color icon_yellow = Color(0xFFFBC02D);
  static const Color search_bg_grey = Color(0x44cccccc);
  static const Color line_grey = Color(0xFFF5F5F5);
}